import http from '@/utils/request';

// 获取树结构商品类目列表
export const getTree = (params: object) => {
	return http.request({
		method: 'GET',
		url: '/product/app/goodscategory/tree',
		params,
		custom: {
			skipToken: true,
		},
	});
};
